<?php

namespace app\api\controller;


use app\common\controller\Api;
use app\common\model\Config;
use app\common\model\UserCert;
use app\common\library\Sms;
use think\Db;
use think\exception\DbException;

/**
 * Class Account    用户资料管理类
 * @package app\api\controller
 */
class Supplement  extends Api
{
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    /**
     * 轮播图接口
     */
    public function bannerList(){
        //获取轮播图信息 图片 和id
        $list = db('Banner')->field('id,image')->order('addtime desc')->select();
        $this->success('轮播图',$list);
    }
    /**
     * 各种币种接口
     */
    public function coinList(){
        //获取所有币种信息
        $list = db('Coin')->field('id,title,image')->select();
        
    }


}